<template>
  <div class="head">
    <div class="container head-content">
      <div class="title">
        <img
          class="number-img"
          src="../../../assets/images/number-img.png"
          alt=""
        >
      </div>
      <div class="steps">
        <el-steps :space="200" :active="active" finish-status="success">
          <el-step title="1.我的购物车" />
          <el-step title="2.确认订单" />
          <el-step title="3.提交订单" />
          <el-step title="4.完成支付" />
        </el-steps>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: 'Header',
  data() {
    return {
      active: 0
    }
  },
  methods: {

  }
}
</script>
<style scoped lang="scss">
@import '@/assets/style/common-color.scss';
.head {

  .head-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 77px;
    padding-top: 6px;
    .title {
      display: flex;
      justify-content: center;
      align-items: center;
      .number-img {
        width: 151px;
        height: 35px;
        object-fit: cover;
      }
    }

    .steps{
          height: 123px;
          border-bottom: 1px solid #E5E5E5;
          position: relative;
        }

  }
  /deep/ .steps {
      .el-steps{
        position: absolute;
        width: 1000px;
        top:40px;
        right: -340px;
      }
    }
}
</style>
